package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialRemindRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialRemindPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialRemindDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialRemindDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialRemindDomainImpl extends BaseDomainImpl<ContractInitialRemindDto, ContractInitialRemindPo> implements ContractInitialRemindDomain {

    @Resource
    private ContractInitialRemindRepository contractInitialRemindRepository;

    @Override
    public BaseRepository<ContractInitialRemindPo> getMapper() {
        return contractInitialRemindRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialRemindPo>> getRepositoryClass() {
        return ContractInitialRemindRepository.class;
    }

}
